<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员用户添加</title>

<link href="${pageContext.request.contextPath }/admin/login/css/mainstyle.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/admin/login/css/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="${pageContext.request.contextPath }/admin/login/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/admin/login/js/admin_add.js"></script>

</head>
<body>
  <div class="rrcc" id="RightBox">
    <div class="right" id="li010">
      <div class="right01"><img src="${pageContext.request.contextPath }/admin/login/images/main/04.gif" /> 用户信息管理 &gt; <span>后台用户管理</span></div>
      
      <div class="primary">
        <table>
          <tr>
            <th>新增管理员用户管理</th>
            <th></th>
          </tr>
        </table>
        <br/>
        
        <form action="${pageContext.request.contextPath }/admin/user/adminsCfgAdd.do?m=add" method="post" name="adminsCfgForm" id="adminsCfgForm">
        <table>
          <tr>
            <td width="80px" align="right">登录账号:</td>
            <td>
              <input type="text" name="account" id="account" value="${adminsCfgForm.account}"
                onfocus="accountFocus('accountCol', 'accountDesc')" 
                onblur="accountBlur(this, 'accountCol', 'accountDesc')" />
            </td>
            <td><font color="red">*</font></td>
            <td id="accountCol">
              <span id="accountDesc" style="display: none"></span>
            </td>
          </tr>
          <tr height="5px"><td></td><td></td><td></td></tr>
          <tr>
            <td width="80px" align="right">初始密码:</td>
            <td>
              <input type="password" name="password" id="password" value="${adminsCfgForm.password}"
                onfocus="passwordFocus('pwdCol', 'pwdDesc')"
                onblur="passwordBlur(this, 'pwdCol', 'pwdDesc')" />
            </td>
            <td></td>
            <td id="pwdCol">
              <span id="pwdDesc" style="display: none"></span>
            </td>
          </tr>
          
          <tr height="5px"><td></td><td></td><td></td></tr>
          <tr>
            <td width="80px" align="right">初始密码确认:</td>
            <td>
              <input type="password" name="pwd2" id="pwd2" value="${adminsCfgForm.pwd2}"
                onfocus="passwordFocus('pwdCol2', 'pwdDesc2')"
                onblur="pwd2Blur(this, 'password', 'pwdCol2', 'pwdDesc2')" />
            </td>
            <td></td>
            <td id="pwdCol2">
              <span id="pwdDesc2" style="display: none"></span>
            </td>
          </tr>
          
          <tr height="15px"><td></td><td></td><td></td></tr>
          <tr>
            <td></td>
            <td><font color="red"><html:errors property="view.admin.error.exist"/></font></td>
            <td></td>
          </tr>
          <tr>
            <td></td>
            <td>
              <input type="button" value="保存" onclick="adminsCfgFormFun()" />
            </td>
            <td></td>
          </tr>
        </table>
        </form>
      </div>
      
    </div>
  </div>
</body>
</html>